/**
 * @author: xuefei
 * @Description: 
 * @version V1.0 
 * @date: 2017年7月29日
 */
package com.topline.xiaocaifeng.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author xuefei
 * docker容器的信息
 */
@Document
public class DockerInfo {

	@Id
	private String containerId;  // 容器唯一标识
	
	@Field
	private String namespace;  // 命名空间
	
	@Field
	private String serviceName;  // 服务名称
	
	@Field
	private String name;  // stack名称

	public String getContainerId() {
		return containerId;
	}

	public void setContainerId(String containerId) {
		this.containerId = containerId;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "DockerInfo [containerId=" + containerId + ", namespace=" + namespace + ", serviceName=" + serviceName
				+ ", name=" + name + "]";
	}
	
	
	
}
